package com.lzy.mall.ware.entity;

import java.io.Serializable;

import lombok.*;
import org.beetl.sql.core.TailBean;
import org.beetl.sql.core.annotatoin.Table;

/**
 * (WmsPurchaseDetail)实体类
 *
 * @author lzy
 * @since 2021-08-24 19:01:42
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Table(name = "wms_purchase_detail")
public class WmsPurchaseDetail extends TailBean implements Serializable {
    private static final long serialVersionUID = 406727760819892286L;

    private Long id;
    /**
     * 采购单id
     */
    private Long purchaseId;
    /**
     * 采购商品id
     */
    private Long skuId;
    /**
     * 采购数量
     */
    private Integer skuNum;
    /**
     * 采购金额
     */
    private Double skuPrice;
    /**
     * 仓库id
     */
    private Long wareId;
    /**
     * 状态[0新建，1已分配，2正在采购，3已完成，4采购失败]
     */
    private Integer status;

}
